Patterns are specified one per line and must conform to the regular expressions syntax supported by regcmp(3X). Comments may be included; they are introduced with the ``#'' character and extend to the end of the line. Any trailing white space in a pattern is ignored (for convenience when comments are used).
Note that regular expression patterns should be written to match a TSI exactly. That is, patterns should be of the form:
^<pattern>$
where the ``^'' and ``$'' characters are used to specify the start and end of the matching TSI. Additionally, regular expression patterns should handle white space that may appear in known locations. For example,
^([+]1){1}[ .-]*415[ .-]*555[ .-]*1212.*$
matches the following TSI strings:
+1.415.555.1212 415 555 1212 1-415-555-1212
Finally, note that regular expressions can be used to specify many TSI with one pattern.